﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200114F RID: 4431
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetForbidOtherApplyFriendScRsp : IMessage<SetForbidOtherApplyFriendScRsp>, IMessage, IEquatable<SetForbidOtherApplyFriendScRsp>, IDeepCloneable<SetForbidOtherApplyFriendScRsp>, IBufferMessage
	{
		// Token: 0x17003814 RID: 14356
		// (get) Token: 0x0600C647 RID: 50759 RVA: 0x00217371 File Offset: 0x00215571
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetForbidOtherApplyFriendScRsp> Parser
		{
			get
			{
				return SetForbidOtherApplyFriendScRsp._parser;
			}
		}

		// Token: 0x17003815 RID: 14357
		// (get) Token: 0x0600C648 RID: 50760 RVA: 0x00217378 File Offset: 0x00215578
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetForbidOtherApplyFriendScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003816 RID: 14358
		// (get) Token: 0x0600C649 RID: 50761 RVA: 0x0021738A File Offset: 0x0021558A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetForbidOtherApplyFriendScRsp.Descriptor;
			}
		}

		// Token: 0x0600C64A RID: 50762 RVA: 0x00217391 File Offset: 0x00215591
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetForbidOtherApplyFriendScRsp()
		{
		}

		// Token: 0x0600C64B RID: 50763 RVA: 0x00217399 File Offset: 0x00215599
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetForbidOtherApplyFriendScRsp(SetForbidOtherApplyFriendScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.aHGJGKMOKAP_ = other.aHGJGKMOKAP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C64C RID: 50764 RVA: 0x002173CA File Offset: 0x002155CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetForbidOtherApplyFriendScRsp Clone()
		{
			return new SetForbidOtherApplyFriendScRsp(this);
		}

		// Token: 0x17003817 RID: 14359
		// (get) Token: 0x0600C64D RID: 50765 RVA: 0x002173D2 File Offset: 0x002155D2
		// (set) Token: 0x0600C64E RID: 50766 RVA: 0x002173DA File Offset: 0x002155DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003818 RID: 14360
		// (get) Token: 0x0600C64F RID: 50767 RVA: 0x002173E3 File Offset: 0x002155E3
		// (set) Token: 0x0600C650 RID: 50768 RVA: 0x002173EB File Offset: 0x002155EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool AHGJGKMOKAP
		{
			get
			{
				return this.aHGJGKMOKAP_;
			}
			set
			{
				this.aHGJGKMOKAP_ = value;
			}
		}

		// Token: 0x0600C651 RID: 50769 RVA: 0x002173F4 File Offset: 0x002155F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetForbidOtherApplyFriendScRsp);
		}

		// Token: 0x0600C652 RID: 50770 RVA: 0x00217402 File Offset: 0x00215602
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetForbidOtherApplyFriendScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.AHGJGKMOKAP == other.AHGJGKMOKAP && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C653 RID: 50771 RVA: 0x00217440 File Offset: 0x00215640
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.AHGJGKMOKAP)
			{
				num ^= this.AHGJGKMOKAP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C654 RID: 50772 RVA: 0x00217498 File Offset: 0x00215698
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C655 RID: 50773 RVA: 0x002174A0 File Offset: 0x002156A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C656 RID: 50774 RVA: 0x002174AC File Offset: 0x002156AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this.AHGJGKMOKAP)
			{
				output.WriteRawTag(120);
				output.WriteBool(this.AHGJGKMOKAP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C657 RID: 50775 RVA: 0x00217508 File Offset: 0x00215708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.AHGJGKMOKAP)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C658 RID: 50776 RVA: 0x00217554 File Offset: 0x00215754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetForbidOtherApplyFriendScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.AHGJGKMOKAP)
			{
				this.AHGJGKMOKAP = other.AHGJGKMOKAP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C659 RID: 50777 RVA: 0x002175A4 File Offset: 0x002157A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C65A RID: 50778 RVA: 0x002175B0 File Offset: 0x002157B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.AHGJGKMOKAP = input.ReadBool();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004FC8 RID: 20424
		private static readonly MessageParser<SetForbidOtherApplyFriendScRsp> _parser = new MessageParser<SetForbidOtherApplyFriendScRsp>(() => new SetForbidOtherApplyFriendScRsp());

		// Token: 0x04004FC9 RID: 20425
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004FCA RID: 20426
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04004FCB RID: 20427
		private uint retcode_;

		// Token: 0x04004FCC RID: 20428
		public const int AHGJGKMOKAPFieldNumber = 15;

		// Token: 0x04004FCD RID: 20429
		private bool aHGJGKMOKAP_;
	}
}
